﻿#ifndef CONFESS_H
#define CONFESS_H
#pragma execution_character_set("utf-8")
#include <QWidget>
#include <QMessageBox>
#include "accdialog.h"

namespace Ui {
class Confess;
}

class Confess : public QWidget
{
    Q_OBJECT

public:
    explicit Confess(QWidget *parent = 0);
    ~Confess();

    int pushButton_2x = 230;
    int pushButton_2y = 20;
    int x_num = 0;
    QMessageBox *msgBox2;

    accDialog dia;//引入第二个界面

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::Confess *ui;
    //关闭事件
    void closeEvent(QCloseEvent *closeevent);
};

#endif // CONFESS_H
